package com.diandi.signature.manager.impl.SignaturePassInfo;

import com.diandi.signature.bean.passinfo.SignaturePassInfo;
import com.diandi.signature.manager.SignaturePassInfo.SignaturePassInfoManager;
import com.diandi.signature.mapper.SignaturePassInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 通道消息
* @author mwz
* @create 2017-08-24 22:04
* @version V1.0.0
*/

@Component
public class SignaturePassInfoManagerImpl implements SignaturePassInfoManager {

    @Autowired
    private SignaturePassInfoMapper signaturePassInfoMapper;


    /**
     * 通过业务签章
     * @param paramMap
     * @return
     */
    @Override
    public SignaturePassInfo getSignaturePassInfoByCode(Map<String, Object> paramMap) {
        return signaturePassInfoMapper.getSignaturePassInfoByCode( paramMap );
    }
}
